import React from 'react'
import { Form, Select } from 'antd'
const { Item } = Form
const { Option } = Select

interface Props {
  caseTypeList: string[]
}

function Main ({ caseTypeList }: Props) {
  return (
    <Item label='金融子类' name='casesubtype'>
      <Select placeholder='请选择金融子类' mode='multiple' allowClear>
        {caseTypeList.map(li => {
          return (<Option key={li} value={li}>{li}</Option>)
        })}
      </Select>
    </Item>
  )
}

export default Main
